package com.csinc.generate.core.base.beelt;

import com.csinc.generate.core.utils.HighFrequencyMethod;
import lombok.extern.slf4j.Slf4j;
import org.beetl.ext.spring.BeetlGroupUtilConfiguration;

/**
 * Create By 郭金宝 on 2018/7/30.<br>
 */
@Slf4j
public class BeetlConfiguration extends BeetlGroupUtilConfiguration {

    @Override
    public void initOther() {
        log.info("------------------kaptcha注冊-----------------------");
        groupTemplate.registerFunctionPackage("tool", new HighFrequencyMethod());
        groupTemplate.registerFunctionPackage("kaptcha", new KaptchaUtil());

    }

}